package com.fitness.front.convertor;

import com.fitness.front.modal.message.entity.Message;
import com.fitness.front.modal.message.vo.MessageVO;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface MessageConverter {
    List<MessageVO> entity2VO(List<Message> messages);

}
